package aysta3045.ChineseDelight.common.registry;

import aysta3045.ChineseDelight.ChineseDelight;
import aysta3045.ChineseDelight.common.menu.OilCookingPotMenu;
import net.minecraft.world.inventory.MenuType;
import net.minecraftforge.common.extensions.IForgeMenuType;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;
import net.minecraftforge.registries.RegistryObject;

public class ModMenus {
    public static final DeferredRegister<MenuType<?>> MENUS =
            DeferredRegister.create(ForgeRegistries.MENU_TYPES, ChineseDelight.MODID);

    // 熬油锅菜单
    public static final RegistryObject<MenuType<OilCookingPotMenu>> OIL_COOKING_POT_MENU =
            MENUS.register("oil_cooking_pot_menu",
                    () -> IForgeMenuType.create(OilCookingPotMenu::new));
}